package com.trkj.dao.jpa;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.YzrPharInstockDet;

public interface IYzrPharInstockDetDAO extends CrudRepository<YzrPharInstockDet, String> {

	@Query("select max(ypid.pharInstockDetId) from YzrPharInstockDet ypid where ypid.pharInstockDetId like ?1%")
	public String findMaxId(String a);
}
